from django.urls import path
from newsApp.views import search, news, newDetail

app_name = "newsApp"
urlpatterns = [
    path('haystack_search/', search, name='haystack_search'),
    path('<str:newName>/', news, name='news'),
    path('newDetail/<int:id>/', newDetail, name='newDetail'),
]
